using System;
using System.Collections;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using Curriculum.Utiles;

namespace Curriculum.LectoresXML.LectorMetadatos
{
	
	public class LectorListaValores : LectorBase 
	{

		public LectorListaValores(){

		}

		public Valores Leer(string nroVersion)
		{
			return base.GetXMLDeserealizado(nroVersion) as Valores;
		}		


		#region Implementacion LectorBase
		protected override XmlSerializer CrearSerializador()
		{
			return new XmlSerializer(typeof(Valores));
		}

		protected override string GetNombreArchivoXML()
		{
			return System.Configuration.ConfigurationSettings.AppSettings[Constants.APP_LISTA_VALORES];
		}
		#endregion
	}

}